package lab02.test10;

public class Test_10 {
    public static void main(String[] args) {

        System.out.println("\n"+"中国人：");
        ChinaPeople per=new ChinaPeople();
        per.name="老王";
        per.gender="男";
        per.height=180;
        per.age=21;

        per.show();

        System.out.println("\n"+"美国人：");
        AmericanPeople ame=new AmericanPeople();
        ame.name="Tom";
        ame.age=19;
        ame.gender="man";
        ame.height=150;

        ame.show();

        System.out.println("\n"+"北京人：");
        BeiJingPeople bjp=new BeiJingPeople();
        bjp.age=20;
        bjp.gender="女";
        bjp.name="张惠妹";
        bjp.height=170;

        bjp.show();
    }
}
